package com.qidian.mes.pojo;

import lombok.Data;

import java.util.Date;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/10/24 11:27
 * @Description
 */
@Data
public class Dict {
    private Long dictId;
    private String dictName;
    private String dictType;
    private String dictNotes;
    private Integer dictStatus;
    private Date dictCreateTime;
    private Date dictModifyTime;
    private Long dictCreateTimeMillis;
    private Long dictModifyTimeMillis;


    public Long getDictCreateTimeMillis() {
        if(this.dictCreateTime != null) {
            return this.dictCreateTime.getTime();
        }
        return null;
    }

    public Long getDictModifyTimeMillis() {
        if(this.dictModifyTime != null) {
            return this.dictModifyTime.getTime();
        }
        return null;
    }
}
